package com.spvs.job.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spvs.common.core.annotation.Excel;
import com.spvs.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 保养记录对象 equip_upkeep_record
 *
 * @author supervision
 * @date 2024-06-09
 */
@Data
public class EquipUpkeepRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保养任务编码 */
    private Long id;

    /** 保养计划ID */
    @Excel(name = "保养计划ID")
    private Long planId;

    /** 设备编码 */
    @Excel(name = "设备id")
    private Long deviceId;
    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipmentCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 计划保养时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划保养时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planUpkeepTime;

    /** 实际保养时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际保养时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualUpkeepTime;
    /** 实际保养时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 附件 */
    @Excel(name = "附件")
    private String fileUrl;

    /** 负责人 */
    @Excel(name = "负责人")
    private String liablePerson;

    private Long deptId;

    private Integer state;

    private Integer type;
}
